package com.example.juccode.juc01threadpool.demo04.Task;

import java.time.LocalTime;
import java.util.concurrent.Callable;

/**
 * @description: TODO
 * @date 2025/11/4 14:11
 */
public class CallableResultTask implements Callable<String> {

    @Override
    public String call() throws Exception {
        //以字符串形式返回当前事件
        return LocalTime.now().toString();
    }
}
